/* wangEditor 编辑器样式 */
.w-e-toolbar {
    border-bottom: 1px solid #e8e8e8;
    background-color: #f4f5f5;
    padding: 5px 10px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.w-e-menu {
    margin: 0 3px;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.w-e-menu:hover {
    background-color: #e8e8e8;
}

.w-e-menu.active {
    background-color: #e1f0fe;
    color: #1890ff;
}

.w-e-text-container {
    position: relative;
    height: 100%;
    border: 1px solid #e8e8e8;
    border-top: none;
    background-color: #fff;
    overflow: auto;
    box-sizing: border-box;
    padding: 10px;
}

.w-e-text-container [contenteditable="true"] {
    min-height: 100%;
    outline: none;
}

/* 表格样式 */
.w-e-table {
    border-collapse: collapse;
    width: 100%;
}

.w-e-table th,
.w-e-table td {
    border: 1px solid #e8e8e8;
    padding: 8px;
    text-align: left;
}

.w-e-table th {
    background-color: #f4f5f5;
}

/* 代码块样式 */
.w-e-code-block {
    background-color: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
    white-space: pre-wrap;
}

/* 引用样式 */
.w-e-quote {
    border-left: 4px solid #1890ff;
    padding: 10px;
    margin: 10px 0;
    background-color: #f5f7fa;
}

/* 图片样式 */
.w-e-image {
    max-width: 100%;
    cursor: pointer;
}

/* 链接样式 */
.w-e-link {
    color: #1890ff;
    text-decoration: underline;
}